<#include "/layout/easyuilayout.ftl"/>

<@htmlHead >
	<script type="text/javascript" src="${webinfo.basePath}/MgrScript/sysmgr/user/js/index.js"></script>
</@htmlHead>  
<@htmlBody>
  
<div id="AppUser_Toolbar">
    <input id="AppUser_ss" class="easyui-searchbox" style="width: 280px;" data-options="searcher:fun_AppUserSearchbox,prompt:'请输入关键字...',menu:'#AppUser_mm'"></input>
    <div id="AppUser_mm" style="width: 120px">
        <div data-options="name:'webName',iconCls:'sealist'">登录名</div>
        <div data-options="name:'userName',iconCls:'sealist'">姓名</div>
        <div data-options="name:'phone',iconCls:'sealist'">电话</div>
    </div>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-add" plain="true" onclick="fun_ShowAppUserEditForm()">新建用户</a>
    <span class="datagrid-btn-separator" style="float: none;"></span>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-reload" plain="true" onclick="fun_ReloadAppUserList()">刷新列表</a>



</div>
<div id="userpanel" data-options="region:'center',title:'',split:true,border:true,iconcls:'icon-sum'" >
    <table id="AppUser_Grid"></table>
</div>
<div id="AppUser_EditForm" class="easyui-dialog" style="width: 720px; height: 400px; padding: 0px" closed="true" modal="true" buttons="#AppUser_EditForm_buttons">
    <form id="AppUser_EditForm_fm" method="post">
         
        <div class="fitem" style="display: none">
            <label>用户编码 : </label>
            <input name="userId" class="easyui-numberbox" value=""   />
            <input name="departId" class="easyui-numberbox" value=""   />
        </div>
        <div class="fitem">
            <label>登录名 : </label>
            <input name="webName" class="easyui-validatebox" value="" data-options="required:true" />
        </div> 
        <div class="fitem">
            <label>姓名 : </label>
            <input name="userName" class="easyui-validatebox" value="" data-options="required:true" />
        </div>
        <div class="fitem">
            <label>地市 : </label>
            <input name="eparchyCode" class="easyui-validatebox" value="0851" data-options="required:false" />
        </div>   
        <div class="fitem">
            <label>状态 : </label>
            <input type="radio" name="removeTag" value="0" checked="checked" /><span>生效</span>
            <input type="radio" name="removeTag" value="1" /><span>失效</span>
            <input type="radio" name="removeTag" value="2"  /><span>注销</span> 
        </div>   
        <div class="fitem">
            <label>证件号码 : </label>
            <input name="psptId" class="easyui-validatebox" value="" data-options="required:false" />
        </div>
        <div class="fitem">
            <label>性别: </label>
            <input type="radio" name="sex" value="1" /><span>男</span>
            <input type="radio" name="sex" value="0" checked="checked" /><span>女</span>
        </div>
        <div class="fitem">
            <label>联系电话 : </label>
            <input name="phone" class="easyui-validatebox" value="" data-options="required:false" />
        </div>
        <div class="fitem">
            <label>电子邮件 : </label>
            <input name="email" class="easyui-validatebox" value="" data-options="required:false" />
        </div>
        <div class="fitem">
            <label>家庭地址 : </label>
            <input name="address" class="easyui-validatebox" value="" data-options="required:false" />
        </div>
        <div class="fitem">
            <label>qq : </label>
            <input name="qq" class="easyui-validatebox" value="" data-options="required:false" />
        </div>
        <div class="fitem" style="width: 685px; height: auto; border: 0px;">
            <label>备注 : </label>
            <input name="userRemark" style="width: 490px; " class="easyui-validatebox" value="" data-options="required:false" />
        </div>

    </form>
</div>
<div id="AppUser_EditForm_buttons">
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-ok" onclick="fun_SaveAppUser()">保存</a>
    <a href="javascript:void(0)" class="easyui-linkbutton" iconcls="icon-cancel" onclick="javascript:$('#AppUser_EditForm').dialog('close')">取消</a>
</div>


 
</@htmlBody>